﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYQQX.SP
{
    public class Hy_tz : ISp
    {
        public override string Name => "红玉·兔子";

        public override string Desc => @"技能效果一：剑舞红袖的分数增加30分
技能效果二：禁用对方任意一张珍稀牌的技能";

        public override int SpScore => 4;

        public override int GetExtraScore(CardGroup group)
        {
            if (group.Group.Any(t => t.Name == "剑舞红袖"))
                return 30;

            return base.GetExtraScore(group);
        }

        public override void Got(CardGroup MyGroup, CardGroup OtGroup)
        {
            Disable(OtGroup);
        }
    }
}
